/**
 * Created by admin on 2016/12/18.
 */
// import Vue from 'vue'
// import VueRouter from 'vue-router'
import Theaters from './components/in_theaters.vue'
import Coming from './components/coming_soon.vue'
import Top from './components/top250.vue'
import Detail from './components/Detail.vue'
// Vue.use(VueRouter)
export default {
  routes: [
    {path: '/in_theaters',name: 'in_theaters', component: Theaters,},
    {path: '/coming_soon', name: 'coming_soon',component: Coming},
    {path: '/top250', name: 'top250',component: Top},
    {path: '/detail/:type', component: Detail},
    {path: '*', redirect: '/in_theaters'}
  ]
}

